@tailwind base;
@tailwind components;
@tailwind utilities;

/* 全局隐藏滚动条 */
html,
body,
#root,
.home-root {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
#root::-webkit-scrollbar,
.home-root::-webkit-scrollbar {
  display: none !important;
}

/* 确保所有子元素也隐藏滚动条
.home-root * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.home-root *::-webkit-scrollbar {
  display: none !important;
} */

.shadow-container {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 32px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0px 0px 20px 0px #ffffff0a, 2px 2px 20px 0px #ffffff4d inset;
}

* {
  transition: background-color 0.3s, border-color 0.3s;
}

.home-root .ant-popover-inner {
  padding: 0 !important;
  background: transparent !important;
}